<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

require_once(APPPATH.'models/model_pesan.php');

class pesan_keluar extends Model_pesan
{
	private $waktu_dikirim;

	private $status;

	public function __construct($data)
	{
		parent::__construct($data, false);
		$this->waktu_dikirim = $data->SendingDateTime;

		if (isset($data->Status))
			$this->status = $data->Status;
		else
			$this->status = "";
	}

	public function get_waktu_dikirim(){
		return $this->waktu_dikirim;
	}

	public function get_status(){
		return $this->status;
	}
}